delete Entry
Deletes a journal entry by its ID.
This method removes the journal entry with the specified ID from the repository.
Parameters
id
The ID of the journal entry to be deleted.
Deletes a journal entry by the entry object itself.
This method calls deleteEntry with the ID of the provided JournalEntry.
Parameters
entry
The JournalEntry object to be deleted.